#ifndef __TASK_QUEUE__
#define __TASK_QUEUE__
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
typedef struct node_s{
    int netfd;
    struct node_s *next;
}node_t;
typedef struct task_queue_s{
    node_t *front;
    node_t *rear;
    int size;
}task_queue_t;
int task_queue_init(task_queue_t*pqueue);
int en_queue(task_queue_t*pqqueue,int netfd);
int de_queue(task_queue_t*pqueue);
int print_queue(task_queue_t*pqueue);
#endif
